package com.star95.springbooti18n.common.constants;

import lombok.Getter;

/**
 * 错误码枚举类
 */
public enum MessagesEnum {
    CAPTCHA_CHECKED_ERROR("captcha_checked_error", "验证码错误"),
    USERNAME_PASSWORD_INCORRECT("username_password_incorrect", "用户名或密码错误"),
    ;

    @Getter
    private String code;

    @Getter
    private String msg;

    MessagesEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
